import { ElLoading } from 'element-plus';

export function createLoading(text = '加载中') {
  return ElLoading.service({ fullscreen: true, lock: true, text });
}
